package com.service;

import com.dto.DTO;
import com.entity.Course;
import com.page.PageInfo;

public interface CourseService {
    public DTO<Course> getCoursesByPage(PageInfo pageInfo, String cacheId) throws Exception;
    public DTO<Course> getCoursesByPage(PageInfo pageInfo) throws Exception ;
    public DTO<Course> editCourse(Course course) throws Exception ;
    public DTO<Course> getAllCourse() throws Exception ;
}
